Passed
Push — master ( 7cf5fc...99bcaf )
by Zhenyu
01:46
created

index.js ➔ ... ➔ ???   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
cc 1
c 3
b 0
f 0
nc 1
dl 0
loc 3
rs 10
nop 0
1
import {
2
	compose,
3
	toMiddleware,
4
	addMeta,
5
	enhancedRender,
6
	createEnhancer,
7
	isPromise,
8
} from '../index';
9
10
describe('n-express-enhancer exports', () => {
11
	it('compose', () => {
12
		expect(typeof compose).toBe('function');
13
	});
14
15
	it('toMiddleware', () => {
16
		expect(typeof toMiddleware).toBe('function');
17
	});
18
19
	it('addMeta', () => {
20
		expect(typeof addMeta).toBe('function');
21
	});
22
23
	it('enhancedRender', () => {
24
		expect(typeof enhancedRender).toBe('function');
25
	});
26
27
	it('createEnhancer', () => {
28
		expect(typeof createEnhancer).toBe('function');
29
	});
30
31
	it('isPromise', () => {
32
		expect(typeof isPromise).toBe('function');
33
	});
34
});
35